package com.example.hellospringbootstarterautoconfigure.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: lfh
 * @date: 2024/3/26 20:56
 * @Version: 1.0
 * @description: hello的文件描述
 */
@ConfigurationProperties(prefix = "hello")
public class HelloProperties {
    /**
     * 前缀
     */
    private String prefix = "Hello,";
    /**
     * 后缀
     */
    private String suffix = "!";

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
}

